package com.sell.sell.mapper;

import com.github.pagehelper.Page;
import com.sell.sell.domain.OrderMaster;
import org.apache.ibatis.annotations.Mapper;

import java.util.Map;
@Mapper
public interface OrderMasterMapper {

    /**
     * 分页查询订单
     * @param pram
     * @return
     */
    Page<OrderMaster> findByOpenId(Map pram);

    /**
     * 保存数据
     * @param orderMaster
     * @return
     */
    Integer save(OrderMaster orderMaster);

}